#######################################################################
#PROGRESSBAR
#######################################################################

style "progressbar"
{ 
	xthickness						= 1
	ythickness						= 1
	
	engine "experience"
	{

		group "progress_bar_h"
		{
			function					= BOX
			detail					= "bar"
			orientation				= HORIZONTAL
			
			
			image 10
			{
				file					= "images/pixel.png"
				recolor "#ff0000"		= "#1FA61F"
				brightness			= 0.2
				width				= 8 px
				inner_padding			= { 0, 2, 0, 0 } 
				padding				= {8, 6, 0, 0}
				xpos				= -1 ws
				repeat				= { 0, 0, 0, 0}
			}
			
			image 20
			{
				file					= "images/progress/progress.png"
				recolor "#ff0000"		= "#1FA61F"
				brightness			= 0.6
				width				= 8 px
				inner_padding			= { 0, 2, 0, 0 } 
				border				= { 0, 0, 0, 0}
				padding				= {8, 6, 0, 0}
				xpos				= -1 ws
				repeat				= { 0, 0, 0, 0}
			}
			
			image 30
			{
				file					= "images/progress/progress_start-end1.png"
				recolor "#ff0000"		= "#1FA61F"
				brightness			= 0.2
				border				= { 6, 6, 2, 2}

			}
			
			image 40
			{
				file					= "images/progress/progress_start-end2.png"
				recolor "#ff0000"		= "#1FA61F"
				brightness			= 0.6
				border				= { 6, 6, 0, 0}

			}
			
			

		}
		


		group "progress_bar_v" = "progress_bar_h"
		{
			orientation				= VERTICAL
			rotate					= CCW
		}

		group "progress_trough"
		{
			detail					= "trough"
			function					= BOX
			
			
			image 0 {		file				= "images/pixel.png"  #needed as base coat to not see random pixels
						recolor "#ff0000"	= bg[normal]
						pos				= TILE}
			
			image 10 {	file				= "images/button/button_base.png"
						recolor "#ff0000"	= base[normal]
						border			= { 2,2,2,2 } 
						padding			= { 1, 1, 1, 1 }
						interpolation_type	= NEAREST}
			
			image 20 {	file				= "images/button/button_shadow.png"
						recolor "#ff0000"	= base[normal]
					 	brightness		= -0.1
						border			= { 2,2,2,2 }
						rotate			= AROUND
						padding			= { 1, 1, 1, 1 } }
						
			image 30 {	file				= "images/button/button_frame.png"
						recolor "#ff0000"	= bg[normal]
					 	brightness		= -0.25
						border			= { 3,3,3,3 }
						draw_components	= BORDER }
		}
	}
}
